// import defaultSettings from '@/settings'

// const title = defaultSettings.title || 'Vue Admin Template'

export default function getPageTitle(pageTitle, title) {
  if (title) {
    return `${pageTitle} - ${title}`
  }
  return `${pageTitle}`
}
